import request from '@/utils/request'

//业务系统列表
export function fetchList(params) {
	return request({
		url: '/datahandler/operationSystem/list',
		method: 'get',
		params
	})
}

//业务系统新增
export function businessAdd(data) {
	return request({
		url: '/datahandler/operationSystem/add',
		method: 'post',
		data
	})
}

//业务系统编辑
export function businessEdit(data) {
	return request({
		url: '/datahandler/operationSystem/edit',
		method: 'post',
		data
	})
}

//业务系统删除
export function businessDelete(query) {
	return request({
		url: '/datahandler/operationSystem/remove',
		method: 'get',
		params: query
	})
}